﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x02000315 RID: 789
	public class TNewVariantTypeArgument : TParseTreeNode
	{
		// Token: 0x1700066E RID: 1646
		// (get) Token: 0x06001BFF RID: 7167 RVA: 0x00330310 File Offset: 0x0032E510
		// (set) Token: 0x06001C00 RID: 7168 RVA: 0x00330318 File Offset: 0x0032E518
		public virtual TObjectName AliasName
		{
			get
			{
				return this.aliasName;
			}
			set
			{
				this.aliasName = value;
			}
		}

		// Token: 0x1700066F RID: 1647
		// (get) Token: 0x06001C01 RID: 7169 RVA: 0x00330321 File Offset: 0x0032E521
		// (set) Token: 0x06001C02 RID: 7170 RVA: 0x00330329 File Offset: 0x0032E529
		public virtual TExpression Expr
		{
			get
			{
				return this.expr;
			}
			set
			{
				this.expr = value;
			}
		}

		// Token: 0x06001C03 RID: 7171 RVA: 0x00330332 File Offset: 0x0032E532
		public override void init(object arg1, object arg2)
		{
			this.expr = (TExpression)arg1;
			if (arg2 != null)
			{
				this.aliasName = (TObjectName)arg2;
				this.aliasName.ObjectType = 25;
			}
		}

		// Token: 0x06001C04 RID: 7172 RVA: 0x0033035C File Offset: 0x0032E55C
		public override void doParse(TCustomSqlStatement psql, ESqlClause plocation)
		{
			this.expr.doParse(psql, plocation);
		}

		// Token: 0x04001A28 RID: 6696
		private TExpression expr;

		// Token: 0x04001A29 RID: 6697
		private TObjectName aliasName;
	}
}
